package com.advanced.homeworkCompany;

public class Employee {

	String name;
	int age;
	String gender;
	String position;
	double salary;
	int id;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public String getGender() {
		return gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	public String getPosition() {
		return position;
	}

	public void setPosition(String position) {
		this.position = position;
	}

	public double getSalary() {
		return salary;
	}

	public void setSalary(double salary) {
		this.salary = salary;
	}

	public void show() {
		System.out.println(this.name + "\t" + this.age + "\t" + this.gender + "\t" + this.position + "\t" + this.salary
				+ "\t" + this.id);
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public Employee() {

	}

	public Employee(String name, int age, String gender, String position, double salary, int id) {
		super();
		this.name = name;
		this.age = age;
		this.gender = gender;
		this.position = position;
		this.salary = salary;
		this.id = id;
	}

}
